import Vue from 'vue';
/* import {} from '@/types' */
/*
 * props
 */
export namespace N_SlotBodySet {
  export interface rowData {
    classification: number;
    equip_name: '空气搅拌' | '排污控制' | '喷淋控制';
    f_comment: string;
    'm2o|_da_ecbox_id|_da_ecbox_det|f_code': string;
    'm2o|attribute_id|_da_ecbox_det|f_code': string;
    'm2o|p_id|tank_equip_config|equip_name': string;
    'slc|classification|614648110232965120': string;
  }

  export interface setInfo {
    value: boolean | string | number;
    code: string;
    conversionRate?: number;
  }

  export interface configData {
    equipName: '空气搅拌' | '排污控制' | '喷淋控制';
    classification: number;
    isAuto: setInfo;
    isRunning: setInfo;
    pId: string;
  }

  // 非槽体设备控制面板类型
  export interface NonTankDeviceControl {
    doorCover: {
      allowIndividualControl: setInfo;
      allOpen: setInfo;
      allClose: setInfo;
    };
    pumps: {
      oilWaterSeparator: setInfo;
      chemicalDeoilingMixer: setInfo;
      chromeAdditiveMixer: setInfo;
    };
    slotEdgeTransmission?: {
      isAuto: setInfo;
      isRunning: setInfo;
    };
    carStop?: {
      stopStation: setInfo;
      stopTime: setInfo;
    };
    dryingTank26?: {
      windCutDelay: setInfo;
      rightLimit: setInfo;
      leftLimit: setInfo;
      solenoidValve: setInfo;
      start: setInfo;
      stop: setInfo;
      status: {
        manualMode: setInfo;
        ready: setInfo;
      };
    };
  }

  export interface cSlotBodySet extends Vue {
    isMask: boolean;
    nonTankControl?: NonTankDeviceControl;
  }
}
